<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('idquestionario')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->idquestionario), array('view', 'id'=>$data->idquestionario)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('data')); ?>:</b>
	<?php echo CHtml::encode($data->data); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('id_usuario')); ?>:</b>
	<?php echo CHtml::encode($data->id_usuario); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('respostas'));  ?>:</b>
	<ol>
	<?php foreach ($data->respostas as $resposta):?>
		<li>
		<?php echo CHtml::encode($resposta->pergunta->pergunta); ?> 
		<?php echo CHtml::encode($resposta->resposta); ?>
		</li>
	<?php endforeach;?>
	</ol>
	<br />


</div>